package Animal;
//哺乳动物

public class Mammal extends Animal {
    public Mammal(String _newName, int _newNumber) {
        this.SetAnimalName(_newName);
        this.SetAnimalNumber(_newNumber);
        zooArea = AnimalArea.AreaA;// 哺乳动物在A区
    }

    @Override
    public String GetDebugMassage() {
        return "哺乳动物:" + this.animalName + "\t有" + this.animalNumber + "只\n";
    }
}
